package com.comven.example.srouce.annotation;


import com.comven.example.srouce.constant.DataSourceType;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author: xiongxin
 * @create: 2022/9/23 17:03
 * @desc: 数据源切换调用
*/

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface DBName {

	DataSourceType value() default DataSourceType.base;
	
}
